Scroll to navigation

COMPOSER-CLI(1) COMPOSER-CLI(1)

NAME

composer-cli-completion-zsh - Generate the autocompletion script for zsh

SYNOPSIS

composer-cli completion zsh [flags]

DESCRIPTION

Generate the autocompletion script for the zsh shell.

If shell completion is not already enabled in your environment you will need to enable it. You can execute the following once:

echo "autoload -U compinit; compinit" >> ~/.zshrc

To load completions in your current shell session:

source <(composer-cli completion zsh)

To load completions for every new session, execute once:

Linux:

composer-cli completion zsh > "${fpath[1]}/_composer-cli"

macOS:

composer-cli completion zsh > $(brew --prefix)/share/zsh/site-functions/_composer-cli

You will need to start a new shell for this setup to take effect.

OPTIONS

-h, --help[=false] help for zsh

--no-descriptions[=false] disable completion descriptions

OPTIONS INHERITED FROM PARENT COMMANDS

-a, --api=1 Server API Version to use

-j, --json[=false] Output the raw JSON response instead of the normal output

--log="" Path to optional logfile

-s, --socket="/run/weldr/api.socket" Path to the server's socket file

--test=0 Pass test mode to compose. 1=Mock compose with fail. 2=Mock compose with finished.

--timeout=240 Timeout to use for server communication. Set to 0 for no timeout

SEE ALSO

composer-cli-completion(1)

HISTORY

21-Feb-2024 Auto generated by spf13/cobra

Feb 2024 composer-cli